/*
 @name: cloud.css
 @description: 云端素材 样式
 @date: 2015/9/2
 @author: Nero(Nero@Nero-zou.com)
 */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul,li{
    list-style-type: none;
}
html,body{
    height: 100%;
}
body {
    color: #000;
    direction: ltr;
    font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans","wenquanyi micro hei","Hiragino Sans GB", "Hiragino Sans GB W3", Arial, sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
}
ul,li{
    list-style-type: none;
}
.loading-warp {
    position: fixed;
    width: 100%;
    height: 100%;
    top: -10px;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.loading-warp .loading-content {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 300px;
}

/* loading css */
.spinner {
    margin: 0 auto;
    width: 50px;
    height: 30px;
    text-align: center;
    font-size: 10px;
}

.spinner > div {
    background-color: #333;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
    animation: stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }
    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }
    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

.load-more{
    width: 200px;
    line-height: 30px;
    height: 30px;
    background-color: #6ac687;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    margin-top: 20px;
    cursor: pointer;
    visibility: hidden;
}
.load-more.none-visibility{
    visibility: visible;
}
.load-more.show-me {
    visibility: visible;
}

i.fa.fa-loading {
    -webkit-animation: icon-loading 1s linear infinite;
    -ms-animation: icon-loading 1s linear infinite;
    animation: icon-loading 1s linear infinite
}

@keyframes icon-loading {
    from {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@-webkit-keyframes icon-loading {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@-ms-keyframes icon-loading {
    from {
        -ms-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -ms-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}


.data-empty-tips{
    width: 100%;
    padding: 30px;
    text-align: center;
    letter-spacing: 0;
}
.data-empty-tips p{
    padding-top: 30px;

}

.cloud-material{
    position: relative;
    width: 100%;
    padding-bottom: 20px;
}

.cloud-material-list {
    margin: 0 6px 10px;
    width: 100%;
    color: #666;
    letter-spacing: -4px;
}

.cloud-material-list:after{
    clear: both;
    content: '';
    display: block;
}
.cloud-material-list>.col{
    float: left;
    width: 33.333%;
}

.cloud-material-part {
    width: 300px;
    display: inline-block;
    border: 1px solid #DDD;
    background: #FFF;
    letter-spacing: 0;
    margin: 24px 0px 6px 10px;
    box-shadow: 3px 3px 0px #f0f0f0;
    -webkit-box-shadow: 3px 3px 0px #f0f0f0;
    position: relative;
}
.cloud-material-part>li{
    font-size:14px;
    padding:9px 14px 5px 14px;
}

.cloud-material-part .material-picker{
    position: absolute;
    width: 100%;
    height:100%;
    left: 0;
    top:0;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    cursor: pointer;
    display: none;
}
.cloud-material-part:hover .material-picker,.cloud-material-part .material-picker.checked{
    display: block;
}
.material-picker .fa-check{
    color: #fff;
    font-size:30px;
    display: none;
    position: absolute;
    top:50%;
    margin-top:-10px;
}
.material-picker.checked .fa-check{
    display: inline-block;
}
.material-content{
    padding-top: 10px;
    margin: 0;
}
.material-item {
    padding: 0 8px;
    border-bottom: 1px solid #ddd;
    position: relative;
    min-height: 80px;
}

.material-item:first-child {
    padding: 0;
    border-top: 1px solid #ddd;
    height: 120px;
    overflow: hidden;
}

.material-item:first-child .material-item-cover {
    width: 100%;
    min-height: 200px;
    height: auto;
    position: static;
}

.material-item:first-child .cover-empty-tips {
    content: '封面图片';
    font-size: 20px;
    top: 60px;
    left: 153px;
}

.material-item:first-child h4 {
    width: 100%;
    font-size: 14px;
    top: auto;
    line-height: 1.2;
    height: auto;
    bottom: 0px;
    padding: 8px 10px;
    margin: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.44);
}

.material-item h4 {
    color: #333;
    font-weight: normal;
    padding: 0 80px 0 5px;
    position: absolute;
    font-size: 14px;
    top: 20px;
}

.material-item-cover {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 70px;
    height: 70px;
    display: block;
}

.material-item-cover[src=""] {
    background-color: #cecece;
}

.material-item-cover[src=""] + .cover-empty-tips {
    display: block;
}

.material-item .cover-empty-tips {
    position: absolute;
    content: '缩略图';
    font-size: 20px;
    color: #585858;
    top: 45px;
    right: 35px;
    display: none;
}
.material-title{
    padding: 10px 10px 0 10px ;
    font-size: 14px;
}
.material-title p{
    margin-bottom: 0;
}
.material-operate{
    padding: 0;
    background-color: #eee;
    height: 45px;
    width:100%;
    display:-webkit-box;
    line-height: 45px;
}
.material-operate .operate-btn{
    cursor: pointer;
    text-align: center;
    -webkit-box-flex: 1.0;
    color: #666;
}

.material-operate .operate-btn:hover {
    background-color: #e6e6e6;
    color: #333;
}
.material-operate .operate-btn.disabled{
    cursor: wait;
    color: #999;
    background-color: #dddddd;
}
.material-operate .operate-btn+.operate-btn{
    border-left: 1px solid #ddd;
}